//
//  YDOAProListCell.swift
//  YDOAProduct
//
//  Created by 占益民 on 2017/12/1.
//  Copyright © 2017年 Allen. All rights reserved.
//

import UIKit

class YDOAProListCell: UITableViewCell {
    @IBOutlet weak var guigeLb: UILabel!
    
    @IBOutlet weak var storageLb: UILabel!
    @IBOutlet weak var goodNameLb: UILabel!
    
    @IBOutlet weak var userNameLb: UILabel!
    
    @IBOutlet weak var remarkLb: UILabel!
    @IBOutlet weak var mentLb: UILabel!
    var  callback : ((_ index:Int) -> Swift.Void)? = nil
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    //type 1 删除
    @IBAction func deleteBtnClick(_ sender: Any) {
        callback!(1)
        
    }
    //type  2  修改
    @IBAction func changeInfoClick(_ sender: Any) {
        callback!(2)
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
